"""
    Plugin for streaming content from ABC's iView
"""

# main imports
import sys
import os

# plugin constants
__plugin__ = "ABC iView"
__author__ = "Andy Botting"
__url__ = "http://www.andybotting.com/xbmc-iview"
__svn_url__ = "https://xbmc-boxee-iview.googlecode.com/svn/trunk/xbmc/abc_iview"
__credits__ = "Team XBMC, Jeremy Visser, Noisymime"
__version__ = "0.6"

# base urls
BASE_URL = "http://www.abc.net.au/"

# base paths
BASE_PATH = os.getcwd().replace( ";", "" )


if ( __name__ == "__main__" ):
    if ( not sys.argv[ 2 ] ):
        from iview import xbmcplugin_series as plugin
    else:
        from iview import xbmcplugin_programs as plugin
    plugin.Main()
